package com.yl.project.lvyou.feedback.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yl.framework.aspectj.lang.annotation.Excel;
import javax.persistence.*;
import com.yl.framework.web.domain.BaseEntity;

/**
 * 用户意见反馈对象 user_feedback
 * 
 * @author yl
 * @date 2025-03-16
 */
@Table(name="user_feedback")
public class UserFeedback extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 反馈ID */
    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;
    /** 反馈类型 */
    @Excel(name = "反馈类型")

    @Column(name = "feedback_type")
    private String feedbackType;
    /** 反馈内容 */
    @Excel(name = "反馈内容")

    @Column(name = "content")
    private String content;
    /** 联系方式 */
    @Excel(name = "联系方式")

    @Column(name = "contact")
    private String contact;
    /** 处理状态：0-未处理，1-处理中，2-已处理 */
    @Excel(name = "处理状态：0-未处理，1-处理中，2-已处理")

    @Column(name = "status")
    private Integer status;
    /** 设备信息 */
    @Excel(name = "设备信息")

    @Column(name = "device_info")
    private String deviceInfo;

    @Column(name = "username")
    private String username;
    /** IP地址 */
    @Excel(name = "IP地址")

    @Column(name = "ip_address")
    private String ipAddress;
    /** 用户id */
    @Excel(name = "用户id")

    @Column(name = "user_id")

    private Long userId;
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFeedbackType(String feedbackType) 
    {
        this.feedbackType = feedbackType;
    }

    public String getFeedbackType() 
    {
        return feedbackType;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setContact(String contact) 
    {
        this.contact = contact;
    }

    public String getContact() 
    {
        return contact;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setDeviceInfo(String deviceInfo) 
    {
        this.deviceInfo = deviceInfo;
    }

    public String getDeviceInfo() 
    {
        return deviceInfo;
    }
    public void setIpAddress(String ipAddress) 
    {
        this.ipAddress = ipAddress;
    }

    public String getIpAddress() 
    {
        return ipAddress;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("feedbackType", getFeedbackType())
            .append("content", getContent())
            .append("contact", getContact())
            .append("status", getStatus())
            .append("deviceInfo", getDeviceInfo())
            .append("ipAddress", getIpAddress())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .toString();
    }
}
